import request from '@/utils/request'
//角色
export function role_listAll(query) {
    return request({
        url: '/api/role/listAll',
        method: 'post',
        data: query
    })
}

export function role_list(query) {
    return request({
        url: '/api/role/list',
        method: 'post',
        data: query
    })
}

export function role_save(query) {
    return request({
        url: '/api/role/save',
        method: 'post',
        data: query
    })
}

export function role_edit(query) {
    return request({
        url: '/api/role/edit',
        method: 'post',
        data: query
    })
}

export function role_delete(query) {
    return request({
        url: '/api/role/delete',
        method: 'post',
        data: query
    })
}

export function role_updateEffectStatus(query) {
    return request({
        url: '/api/role/updateEffectStatus',
        method: 'post',
        data: query
    })
}
